package service

import (
	"wire/internal/dao"
	"wire/internal/model"
)

type IUserService interface {
	GetUserInfo() *model.User
}

type UserService struct {
	UserDao *dao.UserDao
}

func (receiver *UserService) GetUserInfo() *model.User {
	return receiver.UserDao.GetUserInfo()

}
